package cn.com.yto56.coresystem.logic.msg.soa.dao;

import cn.com.yto56.coresystem.common.msg.util.db.IPage;
import cn.com.yto56.coresystem.common.msg.util.db.QueryPage;
import cn.com.yto56.coresystem.logic.msg.soa.domain.GroupInfoBean;

/**
 * Created by wangrui on 2017/2/15.
 */
public interface IGroupInfoDao {

    //add delete update search
    public IPage<GroupInfoBean> search(GroupInfoBean groupInfoBean, QueryPage queryPage);

    public boolean searchForUpdate(GroupInfoBean groupInfoBean);

    public int delete(GroupInfoBean groupInfoBean);

    public int update(GroupInfoBean set, GroupInfoBean where);

    public int add(GroupInfoBean groupInfoBean);
}
